<style>
    body,.content{
        width: auto;
        background: none;
    }
    .table{
        border: 1px solid #e7e9f1;

    }
    .table th, .table td {
        display: table-cell;
        vertical-align: inherit;
        vertical-align: middle!important;
        border: 1px solid #e7e9f1;
    }
    .table .head tr td{
        background: rgb(232, 237, 240);
    }
    .wuji{
        cursor: pointer;
    }

</style>

<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">供应商:</label>
        <div class="col-xs-12 col-sm-8">
            <input data-source="ajax/suppli" data-field="sname" data-primary-key="id"
                   class="form-control selectpage  sp_input" data-rule="required" placeholder="请选择供应商" name="row[supplier]" type="text" value="" autocomplete="off">        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <table data-template="muban" data-index="1" data-name="muban"  style="" class=" table   table-nowrap" data-operate-edit="1" data-operate-del="1" width="100%">
                <thead class="head">
                    <tr>
                        <td style="width:50px"></td>
                        <td style="width:260px">商品名称</td>
                        <td style="width:100px">商品编号</td>
                        <td style="width:120px">商品分类</td>
                        <td style="width:100px">数量</td>
                        <td style="width:100px">单价</td>
                        <td>小计</td>
                        <td>操作</td>
                    </tr>
                </thead>
                <tbody id="ultable" data-selects=""  data-listidx="1">

                </tbody>
                <thead>
                <tr><td colspan="4">合计：</td><td colspan="2" id="tj1">0</td><td colspan="2" id="tj2">0</td></tr>
                </thead>
                <tfooter>
                    <tr><td colspan="8"><a href="javascript:;" class="btn btn-sm btn-success btn-append dsiabled"><i class="fa fa-plus"></i> 添加</a></td></td></tr>
                </tfooter>
            </table>


        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Other_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-other_money" data-rule="required" class="form-control form-control" step="0.01" name="row[other_money]" type="number">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-mark" data-rule="required" class="form-control  form-control" rows="5" name="row[mark]" cols="50"></textarea>
        </div>
    </div>



    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
